import request from '@/utils/request'

// 查询抖音用户转发商户视频记录列表
export function listDouyinUserVideo(query) {
  return request({
    url: '/douyin/douyinUserVideo/list',
    method: 'get',
    params: query
  })
}

// 查询抖音用户转发商户视频记录详细
export function getDouyinUserVideo(id) {
  return request({
    url: '/douyin/douyinUserVideo/' + id,
    method: 'get'
  })
}

// 新增抖音用户转发商户视频记录
export function addDouyinUserVideo(data) {
  return request({
    url: '/douyin/douyinUserVideo',
    method: 'post',
    data: data
  })
}

// 修改抖音用户转发商户视频记录
export function updateDouyinUserVideo(data) {
  return request({
    url: '/douyin/douyinUserVideo',
    method: 'put',
    data: data
  })
}

// 删除抖音用户转发商户视频记录
export function delDouyinUserVideo(id) {
  return request({
    url: '/douyin/douyinUserVideo/' + id,
    method: 'delete'
  })
}

// 导出抖音用户转发商户视频记录
export function exportDouyinUserVideo(query) {
  return request({
    url: '/douyin/douyinUserVideo/export',
    method: 'get',
    params: query
  })
}